<template>
  <div class="create-channel-test">
    <cutImage :width="options.width" :height="options.height"  @change="cutEnd"></cutImage>
  </div>
</template>
<script type="text/ecmascript-6">
  import cutImage from '../components/cut.vue'
  export default {
    data(){
      return {
        options:{
          width:200,
          height:200
        }
      }
    },
    methods: {
      render:function(){

      },
      cutEnd:function(data){
        console.log('cut_end',data);
      }
    },
    components: {
      cutImage:cutImage
    },
    mounted() {
      this.render();
    }
  }
</script>

<style>
  .create-channel-test {
    position: relative;
    width: 100%;
    height:100%;
  }
</style>
